import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-demo03ngfor',
  templateUrl: './demo03ngfor.component.html',
  styleUrls: ['./demo03ngfor.component.css']
})
export class Demo03ngforComponent implements OnInit {
  title = '四大名著';
  list = ['三国演义', '水浒传', '西游记', '红楼梦'];
  constructor() { }

  ngOnInit() {
  }

}
